package com.api.shopapi.service;

import com.alibaba.fastjson.JSONObject;
import com.api.shopapi.entity.MedicinerStaffRel;
import com.api.shopapi.entity.dto.MedicinerStaffRelDTO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MedicinerStaffRelService {

    int insert(JSONObject jsonObject);


    int insert2(MedicinerStaffRel medicinerStaffRel);

    List<MedicinerStaffRelDTO> getListByMedicinerCode(String medicinerCode);

    int delByMedicinerCodeAndMedicinerStaffCode(String medicinerCode, String medicinerStaffCode);


    int delete(String medicinerStaffRelCode);

    MedicinerStaffRel getByStaffCode(String staffCode);
}
